package com.company.design.construct.adapter.obj;


/**
 * @author yingfing
 * @create 2020--09--24 10:54
 * @describe
 */
public class Wrapper implements Targetable {
    private Source source;

    public Wrapper(Source source) {
        this.source = source;
    }

    @Override
    public void method01() {
        source.method01();
    }

    @Override
    public void method02() {
        System.out.println("this is Targetable method02");
    }
}
